package com.kaibai.service;

import com.kaibai.pojo.Cart;
import com.kaibai.pojo.Order;
import com.kaibai.pojo.OrderItem;

import java.util.List;

public interface OrderService {
    String createOrder(Cart cart,Integer userId);

    List<Order> showMyOrders(Integer userid);

    List<OrderItem> showOrderDetail(String orderid);

    List<Order> showAllOrders();

    int sendOrder(String orderid);

    int receiverOrder(String orderid);

    String createOrderDB(int uid,int totalPrice);
}
